
const module = {
    state: {
      userInfo: {
        wid:1
      },
    },
    mutations: {
      SET_BASECONFIG: (state, data) => {
        console.log(11111111)
        state.userInfo = data
      },
      set_userInfo:(state, data)=>{
        state.userInfo = data
      }
     
    },
    actions: {
      setBaseConfig: ({ commit }, data) => {
        return new Promise((resolve, reject) => {
          try {
            commit('SET_BASECONFIG', data)
            resolve()
          } catch (error) {
            reject(error)
          }
        })
      },
     
    }
  }
  export default module
  